CPUIDLE: re-implement mwait wakeup process
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:48:28 +0000 (12:48 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:48:28 +0000 (12:48 +0100)
commit1adb34ea846d8034988e54fa7d117a08b4b719fb
treecb1d8c54a3b4f1755dbf470033043e025c15ad42
parent3ede2e71352e2a73da42eac8929782c2b3dd9d6d
CPUIDLE: re-implement mwait wakeup process

It MWAITs on a completely new flag field, avoiding the IPI-avoidance
semantics of softirq_pending. It also does wakeup-waiting checks on
timer_deadline_start, that being the field that initiates wakeup via
the MONITORed memory region.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/acpi/cpu_idle.c
xen/include/asm-x86/hardirq.h
xen/include/xen/irq_cpustat.h